//
//  ScrollBar.h
//  insbuy
//
//  Created by 任瑞飞任 on 15/9/20.
//  Copyright (c) 2015年 mobisoft. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SVButton.h"
@class ScrollBar;
@protocol ScrollBarDelegate <NSObject>

@optional
-(void)ScrollBar:(ScrollBar*)view andBtutton:(SVButton*)button;
-(void)ScrollBar:(ScrollBar*)view andBtutton:(SVButton*)button andIndex:(NSInteger)selectIndex;
@end
@interface ScrollBar : UIView

@property(nonatomic,assign)NSInteger currentSelect;
@property(nonatomic,strong)UIFont *font;
@property(nonatomic,strong)UIColor *unSelectColor;
@property(nonatomic,strong)UIColor *selectColor;
@property (nonatomic,strong)UIColor *barColor;
@property(strong,nonatomic)NSArray* btnArray;
@property(strong,nonatomic)NSArray* numArray;

@property(weak,nonatomic)id<ScrollBarDelegate> delegate;

-(void)setHeaderData;
-(void)reloadHeaderData;

@end
